package com.xinrui.sunnyday.dao;

import com.xinrui.sunnyday.pojo.Setmeal;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SetmealDao {
    List<Setmeal> findPage(String queryString);

    void add(Setmeal setmeal);

    void addSetmealAndCheckGroup(HashMap<String, Object> map);

    Setmeal findById(Integer id);

    void deleteSetmealAndCheckGroupById(Integer id);

    void deleteById(Integer id);

    List<Integer> findSetmealAndCheckGroupById(Integer id);

    void update(Setmeal setmeal);

    Integer findOrderBySetmealId(Integer id);

    List<String> findImgs();

    List<Setmeal> findAll();

    Setmeal findDetailById(Integer id);

    List<Map<String, Object>> findSetmealCount();
}
